developmentor - a developer services company				  
				      Essential .NET Security
   Modules

Windows Security 101


1. What part of the operating system enforces security policy?
the administrator
the trusted computing base
the local security authority
the registry

2. Privileges are granted
via security policy
to individal users or groups
in order to control how the system behaves for various users
all of the above

3. Every process has a token
True.
False. Services don't have tokens, they have Kerberos tickets.

4. WindowsIdentity and WindowsPrincipal
expose the contents of a token via the IIdentity and IPrincipal interfaces
can often be found by looking in Thread.CurrentPrincipal if Kerberos is in use
can be used to peer at your own process token
all of the above

5. Thread.CurrentPrincipal
is a convenient way to keep track of the client identity for a given request
affects the way the operating system does access checks against files and other resources with ACLs
is typically cleared by an application programmer at the end of each method call

6. When a user logs off
the interactive window station is terminated
the user's Kerberos tickets are returned to the domain controller for safekeeping
all programs in the corresponding logon session are shut down

7. Window Stations
are only used with Terminal Server
provide a sandbox for windowing components, which are not individually secured
are where Windows XP clients go to get authenticated upgrades and patches